package com.wsj;

import java.util.Date;

/**
 * @description:
 * @author: wangSiJia
 * @date: Created in 2020/5/17 10:30
 * @version: v1.0
 * @modified By:wangSiJia
 */
public class Ship {
    private String ownership;
    private String GPSPosition;
    private String price;
    private Date dateOfPurchase;
    private String id;

    public Ship() {
    }
    public Ship(String id) {
        this.id = id;
    }

    public String getOwnership() {
        return ownership;
    }
    public void setOwnership(String ownership) {
        this.ownership = ownership;
    }

    public String getGPSPosition() {
        return GPSPosition;
    }
    public void setGPSPosition(String GPSPosition) {
        this.GPSPosition = GPSPosition;
    }

    public String getPrice() {
        return price;
    }
    public void setPrice(String price) {
        this.price = price;
    }

    public Date getDateOfPurchase() {
        return dateOfPurchase;
    }
    public void setDateOfPurchase(Date dateOfPurchase) {
        this.dateOfPurchase = dateOfPurchase;
    }

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }

    public void drivingMethod(){
        System.out.println("驾驶方法：" +
                "值班驾驶员电话通知机舱开始备车；\n" +
                "值班驾驶员会同值班轮机百员核对船钟、车钟、试舵，最后将车钟摇到备车位，并分别度将情况记入航海日志及车钟记录簿；\n" +
                "主机试车前，值班知轮机员应征得值班驾驶员同意，值班驾驶员应确认缆绳系牢并均匀受力，道船尾无障碍物，舷梯与码头清爽，一般是短时间开出进车、专停车、倒车、停车进行试车；\n" +
                "试车后，待主机备妥，机舱应通知驾驶台，此时车钟摇到停车位，值班驾驶员应将备车完成时间记录到航海日属志及车钟记录簿。");
    }
}
